﻿using System;

namespace BoldBrick.Core.Xml
{
    /// <summary>
    /// This class provides information of XML serialization expcetion
    /// </summary>
	public class XmlSerializationException : Exception
    {
		/// <summary>
		/// Creates <see cref="XmlSerializationException"/> object
		/// </summary>
		/// <param name="message">Exception message</param>
        public XmlSerializationException(string message)
            : base(message)
        { }

		/// <summary>
		/// Creates <see cref="XmlSerializationException"/> object
		/// </summary>
		/// <param name="message">Exception message</param>
		/// <param name="inner">Inner exception of <see cref="XmlSerializationException"/> exception</param>
        public XmlSerializationException(string message, Exception inner)
            : base(message, inner)
        { }
    }
}
